import axios from "axios";

const service = axios.create({
    baseURL:'/api',
    timeout:3000
})


service.interceptors.request.use(confing => {
    return confing
},error => {
    return Promise.reject(error)
})

service.interceptors.response.use(response => {
    return response
},error => {
    return Promise.reject(error)
})

export default service
